package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 收藏表
 * </p>
 *
 * @author 刘岩
 * @since 2022-10-11
 */
@Getter
@Setter
@TableName("tb_mark")
@ApiModel(value = "Mark对象", description = "收藏表")
public class Mark implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键自增")
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("发布状态(0:未发布/1:已发布)")
      private String status;

      @ApiModelProperty("用户ID")
      private Long userId;

      @ApiModelProperty("药品ID")
      private Long medicineId;

      @ApiModelProperty("文章ID")
      private Long articleId;

      @ApiModelProperty("是否删除：0：未删除 1：已删除")
      @TableLogic
      private String isDeleted;
}
